<template>
        <div class="wrap">
          <div class="item">
          	 <div class="item_top">
          	 	<div class="a">
          	 		<img src="../../../../static/img/2.jpg" alt="" />
          	 	</div>
          	 	<div class="b">
          	 		<div class="b1">测试测试测试测试测试测试测试测试测试测试测试测试测试</div>
          	 		<div class="b2">一口价：50集市币</div>
          	 		<div class="b3">
          	 			<span style="margin-right: 5px;">售出：0</span>
          	 			<span style="margin-right: 5px;">总量：5</span>
          	 			<span>剩余：0</span>
          	 		</div>           	 		
          	 		<div class="b3">
          	 			<span style="margin-right: 5px;">留言：0</span>
          	 			<span style="margin-right: 5px;">浏览：5</span>
          	 			<span>曝光：0</span>
          	 		</div>         	 		
          	 	</div>
          	 </div>
          	 <div class="item_bottom">
				<van-button type="default" round  size="small" class="btn">擦亮</van-button> 
				<van-button type="default" round  size="small" class="btn" @click="editRelease('f47458abe036456596ffcfd08029c60b')">编辑</van-button>
				<van-button type="default" round icon="ellipsis" size="small" class="btn">		
				</van-button>
          	 </div>
          </div>
          
          <div class="item">
          	 <div class="item_top">
          	 	<div class="a">
          	 		<img src="../../../../static/img/1.jpg" alt="" />
          	 	</div>
          	 	<div class="b">
          	 		<div class="b1">测试</div>
          	 		<div class="b2">一口价：50集市币</div>
          	 		<div class="b3">
          	 			<span style="margin-right: 5px;">售出：0</span>
          	 			<span style="margin-right: 5px;">总量：5</span>
          	 			<span>剩余：0</span>
          	 		</div>           	 		
          	 		<div class="b3">
          	 			<span style="margin-right: 5px;">留言：0</span>
          	 			<span style="margin-right: 5px;">浏览：5</span>
          	 			<span>曝光：0</span>
          	 		</div>  
          	 	</div>
          	 </div>
          	 <div class="item_bottom">
				<van-button type="default" round  size="small" class="btn">擦亮</van-button> 
				<van-button type="default" round  size="small" class="btn">编辑</van-button>
				<van-button type="default" round icon="ellipsis" size="small" class="btn">		
				</van-button>
          	 </div>
          </div>          
          <div class="item">
          	 <div class="item_top">
          	 	<div class="a">
          	 		<img src="../../../../static/img/1.jpg" alt="" />
          	 	</div>
          	 	<div class="b">
          	 		<div class="b1">测试</div>
          	 		<div class="b2">一口价：50集市币</div>
          	 		<div class="b3">
          	 			<span style="margin-right: 5px;">售出：0</span>
          	 			<span style="margin-right: 5px;">总量：5</span>
          	 			<span>剩余：0</span>
          	 		</div>           	 		
          	 		<div class="b3">
          	 			<span style="margin-right: 5px;">留言：0</span>
          	 			<span style="margin-right: 5px;">浏览：5</span>
          	 			<span>曝光：0</span>
          	 		</div>  
          	 	</div>
          	 </div>
          	 <div class="item_bottom">
				<van-button type="default" round  size="small" class="btn">擦亮</van-button> 
				<van-button type="default" round  size="small" class="btn">编辑</van-button>
				<van-button type="default" round  size="small" class="btn">降价</van-button>
				<van-button type="default" round icon="ellipsis" size="small" class="btn">		
				</van-button>
          	 </div>
          </div>          
              
        </div>
	  	
</template>

<script>
import {getFun} from '@/api/publicFun.js'	 
let publicFun=getFun()	
export default {	
	data() {
       return {
    
       }
	},
	methods: {	
      editRelease(comId){
      	let arg='[{"comId":"'+comId+'"}]' 
      	this.link('/market/goods/editRelease',arg)
      }
	},
	mixins:[publicFun],	
	mounted() {
	}
}	
</script>

<style scoped="">
.wrap{background: #f5f5f5;padding: 15px 15px 65px;}
.item{background: #fff;border-radius: 12px;padding: 15px;margin-bottom: 10px;}
.item:nth-last-child(1){margin-bottom: 0;}
.item_top{display: flex;}
.item_top .a>img{height: 100px;width: 100px;border-radius: 6px;}
.item_top .b{margin-left: 15px;flex: 1;}
.item_top .b .b1{font-size: 18px;font-weight: bold;display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;}
.item_top .b .b2{font-size: 16px;color: #fe5656;margin-top: 5px;font-weight: bold;}
.item_top .b .b3{color: #bbb;margin-top: 5px;}
.item_bottom{display: flex;justify-content: flex-end;margin-top: 10px;}
.item_bottom .btn{margin-left: 8px;}
</style>